package io.sage.modules.warn.dao;

import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import io.sage.modules.warn.entity.BRfidWarn;
import io.sage.modules.warn.entity.BRfidWarnExample;

@Repository
public interface BRfidWarnMapper {
    int countByExample(BRfidWarnExample example);

    int deleteByExample(BRfidWarnExample example);

    int insert(BRfidWarn record);

    int insertSelective(BRfidWarn record);

    List<BRfidWarn> selectByExample(BRfidWarnExample example);

    int updateByExampleSelective(@Param("record") BRfidWarn record, @Param("example") BRfidWarnExample example);

    int updateByExample(@Param("record") BRfidWarn record, @Param("example") BRfidWarnExample example);

    int batchInsert(List<BRfidWarn> bRfidWarns);
    
    BRfidWarn selectByPrimaryKey(Integer id);
    
    /**
     * 报警列表
     * @param params
     * @return
     */
    List<BRfidWarn> selectRfidWarnList(Map<String, Object> params);

}